package com.zb.entity.charger;

import java.io.Serializable;
import java.util.Date;

import com.zb.util.annotation.Ignore;
import com.zb.util.annotation.PrimaryKey;
import com.zb.util.annotation.Table;

/**
 * 直流充电桩状态表
 * @author pengyu
 *
 */
@Table(name="oms_charger_state_direct")
public class OmsChargerStateDirect implements Serializable  {

	/**
	 * 
	 */
	private static final long serialVersionUID = 9194439974465827654L;
	
	/** 接口序号,从1开始;,3.0版本新增 */
	@PrimaryKey
	private Integer port_no;
	/** 桩地址 */
	@PrimaryKey
	private String charger_id;
	/** 枪 */
	private Integer port;
	//用户卡号,20个0表示特殊数据
	private String user_pay_card;
	/** 1代表在线 0代表离线 */
	private Integer online_status;
	/** 0: 空闲;1: 预约;2 充电; 3 故障;4:占用中（针对双枪单充等情况）;5 刷卡中  8:离线*/
	private Integer charge_status;
	/** 充电插头连接状态 0未连接 1 已连接 */
	private Integer cable_status;
	/** 电压 */
	private Float charger_v;
	/** 电流 */
	private Float charger_i;
	/** 输出功率 */
	private Float charger_p;
	/** 已充电时间-分钟 */
	private Float charger_minute;
	/** 本次充电电量 */
	private Float charger_kwh;
	/** 本次充电金额 */
	private Float charger_fee;
	/** 最后连接时间 */
	private Date last_connect_time;
	/** 最后登录时间,只针对在线桩 */
	private Date last_login_time;
	//下发报文预约开始流水号
	private String bespeak_jrnl;
	//报文开始充电流水号
	private String charge_jrnl;
	
	private Integer valid_flag;
	@Ignore
	private String soc;
	@Ignore
	private String remaining_time;
	@Ignore
	private String battery_temperature;
	
	
	
	public String getBattery_temperature() {
		return battery_temperature;
	}
	public void setBattery_temperature(String battery_temperature) {
		this.battery_temperature = battery_temperature;
	}
	public String getRemaining_time() {
		return remaining_time;
	}
	public void setRemaining_time(String remaining_time) {
		this.remaining_time = remaining_time;
	}
	public String getSoc() {
		return soc;
	}
	public void setSoc(String soc) {
		this.soc = soc;
	}
	public Integer getPort_no() {
		return port_no;
	}
	public void setPort_no(Integer port_no) {
		this.port_no = port_no;
	}
	public String getCharger_id() {
		return charger_id;
	}
	public void setCharger_id(String charger_id) {
		this.charger_id = charger_id;
	}
	public Integer getPort() {
		return port;
	}
	public void setPort(Integer port) {
		this.port = port;
	}
	public Integer getOnline_status() {
		return online_status;
	}
	public void setOnline_status(Integer online_status) {
		this.online_status = online_status;
	}
	public Integer getCharge_status() {
		return charge_status;
	}
	public void setCharge_status(Integer charge_status) {
		this.charge_status = charge_status;
	}
	public Integer getCable_status() {
		return cable_status;
	}
	public void setCable_status(Integer cable_status) {
		this.cable_status = cable_status;
	}
	public Float getCharger_v() {
		return charger_v;
	}
	public void setCharger_v(Float charger_v) {
		this.charger_v = charger_v;
	}
	public Float getCharger_i() {
		return charger_i;
	}
	public void setCharger_i(Float charger_i) {
		this.charger_i = charger_i;
	}
	public Float getCharger_p() {
		return charger_p;
	}
	public void setCharger_p(Float charger_p) {
		this.charger_p = charger_p;
	}
	public Float getCharger_minute() {
		return charger_minute;
	}
	public void setCharger_minute(Float charger_minute) {
		this.charger_minute = charger_minute;
	}
	public Float getCharger_kwh() {
		return charger_kwh;
	}
	public void setCharger_kwh(Float charger_kwh) {
		this.charger_kwh = charger_kwh;
	}
	public Float getCharger_fee() {
		return charger_fee;
	}
	public void setCharger_fee(Float charger_fee) {
		this.charger_fee = charger_fee;
	}
	public Date getLast_connect_time() {
		return last_connect_time;
	}
	public void setLast_connect_time(Date last_connect_time) {
		this.last_connect_time = last_connect_time;
	}
	public Date getLast_login_time() {
		return last_login_time;
	}
	public void setLast_login_time(Date last_login_time) {
		this.last_login_time = last_login_time;
	}
	public Integer getValid_flag() {
		return valid_flag;
	}
	public void setValid_flag(Integer valid_flag) {
		this.valid_flag = valid_flag;
	}
	public String getUser_pay_card() {
		return user_pay_card;
	}
	public void setUser_pay_card(String user_pay_card) {
		this.user_pay_card = user_pay_card;
	}
	
	public String getBespeak_jrnl() {
		return bespeak_jrnl;
	}
	public void setBespeak_jrnl(String bespeak_jrnl) {
		this.bespeak_jrnl = bespeak_jrnl;
	}
	public String getCharge_jrnl() {
		return charge_jrnl;
	}
	public void setCharge_jrnl(String charge_jrnl) {
		this.charge_jrnl = charge_jrnl;
	}
	@Override
	public String toString() {
		return "OmsChargerStateDirect [port_no=" + port_no + ", charger_id=" + charger_id + ", port=" + port
				+ ", user_pay_card=" + user_pay_card + ", online_status=" + online_status + ", charge_status="
				+ charge_status + ", cable_status=" + cable_status + ", charger_v=" + charger_v + ", charger_i="
				+ charger_i + ", charger_p=" + charger_p + ", charger_minute=" + charger_minute + ", charger_kwh="
				+ charger_kwh + ", charger_fee=" + charger_fee + ", last_connect_time=" + last_connect_time
				+ ", last_login_time=" + last_login_time + ", bespeak_jrnl=" + bespeak_jrnl
				+ ", charge_jrnl=" + charge_jrnl + ", valid_flag=" + valid_flag + ", soc=" + soc
				+ ", remaining_time=" + remaining_time + ", battery_temperature=" + battery_temperature + "]";
	}
 

	
}
